package se392.ateam2006.user;

import java.util.Collection;
import javax.ejb.Local;

/**
 * Local interface for the UserMgmtBean - allows access from within the local JVM
 * @author Ateam (Matthew Bennett, Claire Melton, Shingai Manyiwa, John Adderley)
 * @version 25/03/07
 */
@Local
public interface UserMgmtLocal {
    
    UserEntity createUser(String email);

    UserEntity createUser(String email, String firstname, String lastname);

    void deleteUser(UserEntity u);

    Collection getAllUsers();

    UserEntity getUserByID(String userId);

    void removeAllUsers();   
}
